//
//  OrderResultsViewController.m
//  PPMEP
//

#import "OrderResultsViewController.h"


@implementation OrderResultsViewController
@synthesize nextStepPickup, nextStepDelivery, forDelivery, results, transactionID;

- (void)viewDidLoad {
	self.navigationItem.hidesBackButton = YES;
	self.title = @"Order completed";
	
	//Show the user the results of their order. 
	
	//Show the user the transaction ID
	txnID.text = [NSString stringWithFormat:@"Transaction ID: %@", transactionID];
	
    [super viewDidLoad];
}


-(IBAction)homeButtonPressed {
	//Return the user to the first page of the Pizza application
	[self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
	// Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
	
	// Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
	// Release any retained subviews of the main view.
	// e.g. self.myOutlet = nil;
}


- (void)dealloc {
    [super dealloc];
}


@end
